﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DAO;
using DTO;


namespace Presentation
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            List<MaDTO> ds = new List<MaDTO>();

            ds = SearchDAO.TimKiem(textBox1.Text.Trim());

            List<DuLieuDTO> dulieu = new List<DuLieuDTO>();

            dulieu = SearchDAO.TraCuuDuLieu(ds);
        }
    }
}
